#include "qGameVideo.h"
#include <QtWidgets/QApplication>
#include <QFile>
#include <qsettings.h>
int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    qGameVideo window;
    QFile file("style.qss");
    if (file.open(QFile::ReadOnly))
    {
        QString style = QLatin1String(file.readAll());
        app.setStyleSheet(style);
    }
    else
    {
        QMessageBox::critical(nullptr, QObject::tr("Stylesheet"), QObject::tr("Unable to open stylesheet file."));
    }

    QSettings settings("qplayter", "qGameVideo");
    window.show();
    return app.exec();
}
